<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>后盾人</title>
  </head>
  <body></body>
  <script>
    {
      var a = 1;
    }
    {
      const a = 2;
    }
    console.log(window.a);
  </script>
</html>
